package com.java.web.manageweb.controller;

import org.springframework.stereotype.Controller;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;

/**
 * 通用的页面跳转逻辑
 * 
 * @author zhijun
 *
 */
@Controller
@RequestMapping("/rest/page")
public class PageController {

    /**
     * 具体的跳转页面逻辑
     *
     * @return 视图名
     */

    @RequestMapping(value = "/{pageName}",method = RequestMethod.GET)
    public String tt(@PathVariable("pageName") String pageName) {
        return pageName;
    }



}
